package com.sunyard.pcc.dal.mapper.ext;

import com.sunyard.pcc.common.bo.SysLogBO;
import com.sunyard.pcc.dal.mapper.SysLogMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for SysLog.
 */
@Mapper
@Repository
public interface SysLogExtMapper extends SysLogMapper {


    /**
     * 分页条件查询日志记录列表
     * @param condition
     * @return
     */
    List<SysLogBO> getLogListByMap(Map<String, Object> condition);

    /**
     * 条件查询日志条数
     * @param condition
     * @return
     */
    Integer getLogCountByMap(Map<String, Object> condition);

}